package org.dynasty.dynamic.scanner;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * framework
 *
 * @author: dynasty
 * @create: 2021-08-31 02:11
 */
public class CompileContext {

    /**
     * k -> qualifiedClassName
     * v -> bytecode
     */
    static Map<String, byte[]> SOURCE_CODE_MAP = new LinkedHashMap<>();

    static Map<String, Class<? extends CustomizedBaseMapper>> MAPPER_CLASS_MAP = new HashMap<>();

    static void clear() {
        SOURCE_CODE_MAP.clear();
        MAPPER_CLASS_MAP.clear();
    }

}
